![]() |
SetControlMinimum |
||||
Header: | Controls.h | Carbon status: | Supported | |
Changes the minimum setting of a control and redraws its indicator or scroll box accordingly.
void SetControlMinimum ( ControlRef theControl, SInt16 newMinimum );
A handle to the control whose minimum setting you wish to change.
The new minimum setting.
The SetControlMinimum function changes the contrlMin field of the control structure to the setting you specify in the newMinimum parameter and redraws its indicator or scroll box to reflect its new range.
When you create a control, you specify an initial minimum setting either in the control resource or in the min parameter of the NewControl function . To obtain a control’s current minimum setting, use the function GetControlMinimum.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)